Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tbaut remove tab navigation #226

Merged
merged 6 commits into from
Feb 25, 2019
Merged

Conversation

Tbaut
Copy link
Contributor

@Tbaut Tbaut commented Feb 23, 2019

This PR mainly removes the tabs (Account and Scanner) and sets the AccountList screen as the main screen.

It also fixes a couple things related to the navigation such as #142 :

Tested on Android with Tx and message signing.

There are now 2 buttons (that's at least 1 too many) on the account list, I'll tackle this (#225) in a separate PR

Question: how should I proceed to avoid committing package-lock.json, I read it shouldn't be in gitignore.. what about this annoying wizard in package.json ? :)

@@ -96,9 +90,6 @@ export class TxDetailsView extends React.PureComponent {
title={this.props.sender.name}
address={this.props.sender.address}
chainId={this.props.sender.chainId}
onPress={() => {
this.props.onPressAccount(this.props.sender);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has there been any issues with navigation here?

(I don't think I ever wanted to navigate from tx screen to account by tapping the icon, or expected that to work that way, so I think it's fine, just curious about the reasons)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There has been no issue opened for this indeed. I stumbled upon this and would not expect this either, hence the removal. I have the bad habit to tackle several issues at once :). I did my best not to shoot in too many directions for this one.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have the bad habit to tackle several issues at once :)

how sweet is it

Copy link
Contributor

@maciejhirsz maciejhirsz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@maciejhirsz maciejhirsz merged commit c9b2f25 into master Feb 25, 2019
@maciejhirsz maciejhirsz deleted the tbaut-remove-tab-navigation branch February 25, 2019 21:36
@lexfrl
Copy link
Contributor

lexfrl commented Feb 26, 2019

have you tested the build for iOS? @Tbaut

@Tbaut
Copy link
Contributor Author

Tbaut commented Feb 26, 2019

Not yet, I'll do it after #225

@lexfrl
Copy link
Contributor

lexfrl commented Feb 26, 2019

not the best practice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants